package com.mku.parkingmanagement_service.controller;


import com.mku.parkingmanagement_service.service.CarService;
import com.mku.parkingmanagement_service.vo.StallCarVo;
import com.mku.parkingmanagement_service.vo.comm.ResultVO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;


/**
 * @className: CarController
 * @author: Maoxx
 * @date: 2024/11/9 12:12
 * @Version: 1.0
 * @description:
 */


@RestController
@RequestMapping("/car")
public class CarController {

    @Resource
    private CarService carService;

    @GetMapping("/getCars")
    public ResultVO<Object> getCars(StallCarVo stallCarVo) {
        return carService.getCars(stallCarVo);
    }


}
